package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.UserComplaints;
import com.literaryfamily.literaryfamily.entity.UserComplaintsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserComplaintsMapper {
    long countByExample(UserComplaintsExample example);

    int deleteByExample(UserComplaintsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserComplaints row);

    int insertSelective(UserComplaints row);

    List<UserComplaints> selectByExampleWithBLOBs(UserComplaintsExample example);

    List<UserComplaints> selectByExample(UserComplaintsExample example);

    UserComplaints selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") UserComplaints row, @Param("example") UserComplaintsExample example);

    int updateByExampleWithBLOBs(@Param("row") UserComplaints row, @Param("example") UserComplaintsExample example);

    int updateByExample(@Param("row") UserComplaints row, @Param("example") UserComplaintsExample example);

    int updateByPrimaryKeySelective(UserComplaints row);

    int updateByPrimaryKeyWithBLOBs(UserComplaints row);

    int updateByPrimaryKey(UserComplaints row);
}